package com.sendi.mobilework.util;

import android.content.Context;
import android.widget.Toast;

/**
 * Created by Administrator on 2017/4/14.
 */

public class Utils {
    public static Toast mToast;

    public static void showToast(Context context,String text){
        if (mToast==null){
            mToast=Toast.makeText(context,"",Toast.LENGTH_LONG);
        }
        mToast.setText(text);
        mToast.show();
    }
}
